/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Entity;

/**
 *
 * @author Administrator
 */
public class E_Customer {

    private int cusID;
    private String cusName;
    private String cusAddress;
    private String cusEmail;
    private String cusPhone;
    private String cusAccount;
    private String cusPass;

    public E_Customer(){
        this.cusID=0;
        this.cusName="";
        this.cusAddress="";
        this.cusEmail="";
        this.cusPhone="";
        this.cusAccount="";
        this.cusPass="";
    }

    public E_Customer(int cusID,String cusName,String cusAddress,
                      String cusAccount,String cusPass){
        this.cusID=cusID;
        this.cusName=cusName;
        this.cusAddress=cusAddress;
        this.cusAccount=cusAccount;
        this.cusPass=cusPass;
    }

    public E_Customer(int cusID,String cusName,String cusAddress,
             String cusPhone,String cusAccount,String cusPass){
        this.cusID=cusID;
        this.cusName=cusName;
        this.cusAddress=cusAddress;
        this.cusPhone=cusPhone;
        this.cusAccount=cusAccount;
        this.cusPass=cusPass;
    }

    public E_Customer(int cusID,String cusName,String cusAddress,String cusEmail,
            String cusPhone,String cusAccount,String cusPass){
        this.cusID=cusID;
        this.cusName=cusName;
        this.cusAddress=cusAddress;
        this.cusEmail=cusEmail;
        this.cusPhone=cusPhone;
        this.cusAccount=cusAccount;
        this.cusPass=cusPass;
    }

    public void setCustomerID(int cusID){
        this.cusID=cusID;
    }
    public int getCustomerID(){
        return this.cusID;
    }

    public void setCustomerName(String cusName){
        this.cusName=cusName;
    }
    public String getCustomerName(){
        return this.cusName;
    }

    public void setCustomerAddress(String cusAddress){
        this.cusAddress=cusAddress;
    }
    public String getCustomerAddress(){
        return this.cusAddress;
    }

    public void setCustomerEmail(String cusEmail){
        this.cusEmail=cusEmail;
    }
    public String getCustomeremail(){
        return this.cusEmail;
    }

    public void setCustomerPhone(String cusPhone){
        this.cusPhone=cusPhone;
    }
    public String getCustomerPhone(){
        return this.cusPhone;
    }

    public void setCustomerAccount(String cusAccount){
        this.cusAccount=cusAccount;
    }
    public String getCustomerAccount(){
        return this.cusAccount;
    }

    public void setCustomerPass(String cusPass){
        this.cusPass=cusPass;
    }
    public String getCustomerPass(){
        return this.cusPass;
    }

    public String toString(){
        String cusInfo="Customer ID : "+cusID;
               cusInfo+="\nName : "+cusName;
               cusInfo+="\nAddress : "+cusAddress;
               cusInfo+="\nEmail : "+cusEmail;
               cusInfo+="\nPhone : "+cusPhone;
               cusInfo+="\nAccount : "+cusAccount;
               cusInfo+="\nPassword : "+cusPass;
        return cusInfo;
    }
}
